package com.attendcollatesys.service;

import com.attendcollatesys.entity.ATLeaveExtraDetail;
import com.attendcollatesys.entity.vo.ATLeaveExtraDetailVO;
import com.attendcollatesys.ex.handler.ex.MessageNullValueException;

import java.text.ParseException;
import java.util.List;
import java.util.Map;

public interface ATLeaveExtraDetailService {
    int insertBatch(List<ATLeaveExtraDetail> list);

    int deleteByRequestNo(List<String> list);

    List<Map<String,String>> selectAbnormalAttendance(Map<String,String> params) throws MessageNullValueException;

    //包含缺勤、迟到、请假
    ATLeaveExtraDetailVO selectAllAbnormal(Map<String,String> params) throws MessageNullValueException, ParseException;

    Map<String,Object> selectAllByTaypsExServ(Map<String,Object> params) throws MessageNullValueException, ParseException;

    Map<String,Object> selectRankingOfLeaveDays(Map<String,Object> params) throws MessageNullValueException;

    Map<String,Object> selectRankingOfLateAndAbsent(Map<String,Object> params) throws MessageNullValueException, ParseException;
}
